package 爬虫;

import excel.poi.Excel;
import lombok.Data;

import java.util.List;

/**
 * @author chenhailong
 * @ClassName: CarDto
 * @Description: 懂车帝dto
 * @date 2023/4/15 7:30
 * @Version 1.0
 */
@Data
public class DongCheDiCarDto {


    private String image_url;
    private Integer series_id;
    @Excel(name = "车辆标题", maxLength = 30, width = 50)
    private String title;


    private String car_age;
    private Integer car_id;
    private String car_mileage;

    @Excel(name = "车款", maxLength = 15, width = 30)
    private String car_name;

    @Excel(name = "车辆年份", maxLength = 10)
    private String car_year;

    private String group_id;
    private String group_id_str;

    @Excel(name = "新车指导价", maxLength = 10)
    private String official_price;

    @Excel(name = "卖价", maxLength = 10)
    private String sh_price;

    private Integer platform_type;
    private String related_video_thumb;
    private Integer sku_id;
    private Integer spu_id;

    private String shop_id;

    @Excel(name = "年份|公里数", maxLength = 20, width = 20)
    private String sub_title;

    @Excel(name = "型号", maxLength = 10)
    private String series_name;
    @Excel(name = "是否认证", maxLength = 10)
    private String authentication_method;
    private Integer brand_id;
    //    @Excel(name = "品牌", maxLength = 10)
    private String brand_name;

    @Excel(name = "城市", maxLength = 10)
    private String brand_source_city_name;
    @Excel(name = "原车质保", maxLength = 10, width = 20)
    private String originalCarWarranty;


    @Excel(name = "是否自营", maxLength = 10)
    private String car_source_type;
    @Excel(name = "车辆图片", maxLength = 10, width = 80)
    private String image;
    private List<Detail> tags;


    @Data
    class Detail {
        //        @Excel(name = "车辆颜色", maxLength = 10)
        private String background_color;
        private String logo;

        //        @Excel(name = "报告", maxLength = 10)
        private String text;
        //        @Excel(name = "车牌号", maxLength = 10)
        private String text_color;
    }






}
